
<form method="POST" action="{% url 'romm_manage:room_id' %}">    
    {% csrf_token %} 
    <!-- 用户名输入 -->
    <div class = "username">
        <label>用户名:</label>
        <label id = "usrid">text</label>
    </div>

    <div class = "roomidinput">
        <label for="roomidinput">房间号:</label>
        <input  type="text"
                name="roomid"
                required
                id="roomid_in">
    </div>

   

    <button type="submit" class="btn btn-primary">加入/创建房间</button>
</form>
    <div id="create">
        <button id="button_create">创建房间</button>
    </div>
